package com.ereach.cylinder;

public class Main {
    public static void main(String[] args) {
        Circle circle = new Circle(11d, "red");
        System.out.println(circle);
        System.out.println(circle.getArea());
        System.out.println(circle.getPerimeter());

        Cylinder cylinder = new Cylinder(12d, 10d, "blue");
        System.out.println(cylinder);
        System.out.println(cylinder.getVolume());
        System.out.println(cylinder.getArea());
    }
}
